extends Area2D

const hurt = 500

func _ready():
	pass
	
func _process(delta):
	var new_pos = self.global_position.move_toward(Vector2(291,83),delta*100)
	self.global_position = new_pos
	pass

func shot():
	
	pass


func _on_HuoJian_body_entered(body):
	if body.name == "EnemyTower1":
		body.hurt(hurt)
		self.queue_free()
	pass # Replace with function body.
